<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/base.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link rel="stylesheet" type="text/css" href="css/admin.css">
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="js/admin.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		//重新绑定表单提交
		$("#add_btn").bind("click", function() {
			$('form').submit();
		});
	});
	</script>
  </head>
  
  <body>
    <div class="panel admin-panel">
    <div class="panel-head">
				<strong class="icon-reorder">户主信息列表</strong>
			</div>
			<div class="padding border-bottom">
			 <table class="table table-hover text-center">
				<tr>
					<th >序号</th>
					<th>乡镇/村/组</th>
					<th>家庭编号</th>
					<th>农合证号</th>
					<th>个人姓名</th>
					<th>身份证号</th>
					<th>操作</th>
				</tr>
				<c:forEach var="item" items="${hostList}" varStatus="i">
				<tr>
				    <td >${i.count}</td>
					<td>${item.family.town.areaname}${item.family.village.areaname}${item.family.groupNo.areaname}</td>
					<td>${item.family.famicode}</td>
					<td>${item.perscode}</td>
					<td>${item.persname }</td>
					<td>${item.cardID}</td>
					<td><a class="button border-main"
								href="<%=path%>/system/PaymentServlet?m=members&famicode=${item.family.famicode}">
								<span
								class="icon-edit"></span>开始缴费</a> </td>
				</tr>
				</c:forEach>
				</table>
			</div>
    </div>
  </body>
</html>
